
/***************************************
 * Consts.java
 * 
 * @author odedmagg
 * Last updater: Liat
 * Date: 6.8.09 19:00
 * 
 * Contains constants for the entire project.
 */

public class Consts {
	public static final String _DATA_DIR = "data/";
	public static final String _FIG_DIR = "data/";	
	public static final String _MCL_DIR = "bin/";
	public static final String _NETWORKBLAST_DIR = "bin/";	
	public static final String _SCRIPTS_DIR = "scripts/";
	public static String _curDir = "./";
	
	public static String DATA_DIR = "./data/";
	public static String FIG_DIR = "./data/";	
	public static String MCL_DIR = "./bin/";
	public static String NETWORKBLAST_DIR = "./bin/";	
	public static String SCRIPTS_DIR = "./scripts/";
	
	public static void setCurDir(String base) {
		_curDir = base;
		if (_curDir == null) {
			_curDir = "./";
		}
		
		DATA_DIR = "/home/bnet/liatperl/" + _DATA_DIR;
		FIG_DIR     = _curDir + _FIG_DIR;
		MCL_DIR    = _curDir + _MCL_DIR;
		NETWORKBLAST_DIR = _curDir + _NETWORKBLAST_DIR;
		SCRIPTS_DIR = _curDir + _SCRIPTS_DIR;
	}
}
